//引入模块使用
import axios from 'axios'
axios.defaults.baseURL = 'http://39.104.152.238:8079';

//暴露出去
//获取支持比特币的矿机列表
export const btcMiners =()=>{
    return axios('/miner/btcMiners')
}
//获取获得区块难度
export const getBlockDiff =()=>{
    return axios('/miner/getBlockDiff')
}
//获取获得区块难度
export const getBlockChainInfo =()=>{
    return axios('/miner/getBlockChainInfo')
}